<?php
namespace App\Http\Controllers\ApiWx\Mys;

use App\DBs\ThingDB;
use Illuminate\Http\Request;

class ThingController extends BaseController
{
    //物品

    protected $db;

    public function __construct()
    {
        parent::__construct();
        $this->db = new ThingDB();
    }

//    /**
//     * 果树列表
//     */
//    public function getIndex(Request $request)
//    {
//        $wx = $request->post('wx','');
//        $resDb = $this->db->getMyTreeIndex($wx);
//        if ($resDb['code']!=0) {
//            return $this->toWxJson(-3);
//        }
//        $items = $resDb['data']; $total = $resDb['total'];
//        return $this->toWxJson(0,$items,$total);
//    }
}